package com.yunweiweishi.xuhuanpaltform.yuhuan_app.comm.emun;


public enum UserType {

    ENABLE(0),
    FORBIDDEN(1);


    private int value;

    UserType(int value) {

        this.value = value;

    }

    public int getValue() {

        return value;
    }


    public static UserType valueof(int value) {

        switch (value) {
            case 0:  return ENABLE;
            case 1:return FORBIDDEN;
            default: return FORBIDDEN;
        }

    }


}
